package com.hnchances.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hnchances.common.vo.ResultVo;
import com.hnchances.entity.User;
import com.hnchances.entity.vo.RegisterUser;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author testjava
 * @since 2022-08-11
 */
public interface UserService extends IService<User> {

    ResultVo registered(RegisterUser user);

    ResultVo login(String userName,String password);

    ResultVo updateUser(User user);

    ResultVo select(Integer userId);

    ResultVo delete(Integer userId);
}
